import App from './App'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'

/*uviewui注册*/
import uView from "uview-ui";
Vue.use(uView);

//全局变量，根据自己node服务的ip地址和端口号来写，也就是本机ip
import io from './common/weapp.socket.io.js'
Vue.prototype.socket = io('http://localhost:8080');

const app = new Vue({
    ...App,

})
app.$mount()
// #endif

// #ifdef VUE3
import {
    createSSRApp
} from 'vue'
export function createApp() {
    const app = createSSRApp(App)
    return {
        app
    }
}
// #endif
